package com.topisv.tms.service.lpn;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
import org.springframework.transaction.annotation.Transactional;

import com.topisv.tms.entity.lpn.Box;
import com.topisv.tms.repository.lpn.BoxDao;

@Component
@Transactional(readOnly = true)
public class BoxService {
    
    @Autowired
    private BoxDao boxDao;
    
    public void save(Iterable<Box> boxs) {
        boxDao.save(boxs);
    }
    
    public void save(Box box) {
        boxDao.save(box);
    }
    
}
